package com.xdap.materialselect.config;

import com.xdap.api.moudle.custom.AllowUrlManage;
import org.springframework.stereotype.Component;

import java.util.HashSet;
import java.util.Set;

/**
 * @PROJECT_NAME: apaas-tianneng-service
 * @PACKAGE_NAME: com.xdap.apaastiannengservice.common.config
 * @DESCRIPTION: 白名单配置类
 * @USER: ZWT
 * @DATE: 2022/12/12 11:46 星期一
 */
@Component
public class MaterialSelectAllowUrlConfig implements AllowUrlManage {
    @Override
    public Set<String> getCustomAllowUrls() {
        Set<String> urlSet = new HashSet<>();
        urlSet.add("/custom/*");
        return urlSet;
    }
}
